<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="format-detection" content="telephone=no">
  <title>一手鞋</title>
  <link rel="stylesheet" href="../assets/css/amazeui.min.css?v=2.9">
  <link rel="stylesheet" href="../assets/css/style.css?v=2.3">
  <link rel="stylesheet" href="../assets/css/index.css?v=2.3">
  <link rel="stylesheet" href="../assets/css/extend.css?v=2.3">
  <link rel="stylesheet" href="../assets/css/icons.css?v=2.3">
  <link rel="stylesheet" href="../assets/css/menu.css?v=2.3">
  <link rel="stylesheet" href="../assets/css/service_market.css?v=2.3">
</head>
<body class="bg-gray">
<div id="root"></div>

<script src="../assets/js/jquery.min.js"></script>
<script src="../assets/js/amazeui.min.js"></script>
<script src="../build/react.min.js"></script>
<script src="../build/react-dom.min.js"></script>
<script src="../build/common.js"></script>
<script src="../build/goods.js"></script>
<script>
  $(function(){
      $(".expert_tabs .am-u-sm-4").on("click",function(){
          $(".expert_tabs .am-u-sm-4").removeClass("cur");
          $(this).addClass("cur");
      });
      $(".expert_tabs a").click(function () {
          if ($("[data-node='" + $(this).attr("id") + "']").is(":hidden")) {
              $(".filter-container").hide();
              $(".global-mask").hide();
              $("[data-node='" + $(this).attr("id") + "']").show();
              $(".global-mask").show();
          }
          else {
              $(".filter-container").hide();
              $(".global-mask").hide();
          }
      });
      $(".global-mask").click(function () {
          $(".filter-container").hide();
          $(".global-mask").hide();
      });
      // 二级分类选择
      $(".list-group.nodis li").click(function () {
          $(".list-group li").removeClass("active");
          $(this).addClass("active");
      });

      $(".expert_tabs a").each(function () {
          var id = $(this).attr("id");
          $("[data-node='" + id + "']").find(".list-group:not(.nodis)").find("li").click(function () {
              if (!$(this).hasClass('letter')) {
                  $("[data-node='" + id + "']").find(".list-group li").removeClass("selected");
                  $(this).addClass("selected");
                  $(".filter-container").hide();
                  $(".global-mask").hide();
//                    alert($(this).text() + "\n注释：根据此值调取查询接口！！！");
              } else {
//                    alert('再瞎点遭雷劈！' + "\n注释：这个地方不用调取接口！！！");
              }
          });

      });
      $(".slider-content li ul li").on("click",function(){
          $(".slider-content li ul li").removeClass("selected");
          $(this).addClass("selected");
          $(".filter-container").hide();
          $(".global-mask").hide();
      });
//      $("#secure_paixu").on("click",function () {
//          var $that= $(this).find(".sort");
//          if($that.hasClass("am-icon-long-arrow-down")){
//              $that.removeClass("am-icon-long-arrow-down").addClass("am-icon-long-arrow-up");
//          }else {
//              $that.removeClass("am-icon-long-arrow-up").addClass("am-icon-long-arrow-down");
//          }
//      })
  });
</script>
</body>
</html>